<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">

    <title></title>

    <link href="/webapp/webapi/common/bootstrap/css/bootstrap.css" type=text/css rel=stylesheet>
    <link href="/webapp/webapi/common/bootstrap/css/bootstrap-font.css" type=text/css rel=stylesheet>
    <link href="/webapp/webapi/common/bootstrap/css/bootstrap-theme.css" type=text/css rel=stylesheet>
    <link href="/webapp/webapi/common/switch/bootstrap-switch.css" type=text/css rel=stylesheet>

    <link href="/webapp/webapi/css/control.css" type=text/css rel=stylesheet>
    <link href="/webapp/webapi/css/device.css" type=text/css rel=stylesheet>
	<link href="/webapp/webapi/css/monitor.css" type=text/css rel=stylesheet>

    <script language="javascript" src="/webapp/webapi/control-develop.js"></script>


</head>
<body>
</body>

<script language="JavaScript">
    function loadPage() {
        this.application = new Application();
        this.application.init(g_sPath);
    }

    function ie8Crash(oTabPage, iframe){};
</script>


<!--[if lt IE 9]>
<script language="JavaScript">
    //解决ie8 font浏览器崩溃问题, 需要延时加载.
    //因为iframe load事件必须在组件init前.
    function loadPage() {
        var that = this;
        setTimeout(function(){
            that.application = new Application();
            that.application.init(g_sPath);
        }, 50);
    }

    function ie8Crash(oTabPage, iframe){
        $(iframe).detach();
        $(iframe).unbind("load");
        $(iframe).bind("load", function(e){
            $(oTabPage.getHTML()).append(iframe);
        });
    };
</script>
<![endif]-->

<script language="JavaScript">
    WinManager.decodeParams();
    if (typeof(g_sPath) != "undefined") {
        loadPage();
    } else {
//        alert("未找到页面路径属性[g_sPath].");
    }
</script>

<!--[if lt IE 9]>
<script src="/webapi/common/bootstrap/js/jquery.placeholder.min.js"></script>
<script src="/webapi/common/bootstrap/js/respond.min.js"></script>
<script src="/webapi/common/bootstrap/js/html5shiv.js"></script>
<![endif]-->

<!--[if lt IE 9]>
<script language="JavaScript">
    //解决IE8控件描述问题
    setTimeout(function(){
        $('input, textarea').placeholder();
    }, 2000);
</script>
<![endif]-->

</html>